package com.luoc.skipList;

/**
 * @author luoc
 * @version 1.0
 * @date 2021/2/25 20:22
 * @since 1.0
 */
public class SkipListLevel {

    /** 前进指针 */
    private SkipListNode forward;

    /** 跨度(跨越几个节点) */
    private int span;

    public SkipListNode getForward() {
        return forward;
    }

    public void setForward(SkipListNode forward) {
        this.forward = forward;
    }

    public int getSpan() {
        return span;
    }

    public void setSpan(int span) {
        this.span = span;
    }

    public void modifySpan(int increment){
        this.span = this.span + increment;
    }
}
